﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
        xmlns:View="clr-namespace:MusicStore.Dashboard.Client.View"
        x:Name="window" x:Class="MusicStore.Dashboard.Client.MainWindow"
        Title="MainWindow"
        Height="600"
        Width="800" WindowStyle="None" WindowState="Maximized">
  <Grid>
    <View:Sales/>
    <Button Content="X" HorizontalAlignment="Right" Width="33" Margin="0,10,10,0" VerticalAlignment="Top">
    	<i:Interaction.Triggers>
    		<i:EventTrigger EventName="Click">
    			<ei:CallMethodAction TargetObject="{Binding ElementName=window}" MethodName="Close"/>
    		</i:EventTrigger>
    	</i:Interaction.Triggers>
    </Button>
  </Grid>
</Window>